﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Telerik.WinControls;
using Telerik.WinControls.Themes;
using Telerik.WinControls.UI.Localization;
using MN.Framework.UI;
using MN.Framework.UI.Win.Forms;
using MN.Framework.Common.Security;
using MN.Framework.UI.Win;

namespace WindowsFormsApplicationPezeshki
{
    static class Program
    {
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
            Application.ThreadException +=MnApplication.Application_ThreadException;

            ThemeResolutionService.ApplicationThemeName = "VisualStudio2012Dark";
           
            Application.Run(MnApplication.Start(new SqlAuthenticarion(), new MainForm()));
            //Application.Run(new RadForm1());
        }
    }
}
